<!--
 * @Author: Hou 89426584@qq.com
 * @Date: 2023-11-14 11:05:32
 * @LastEditors: fzp fangzp9669@163.com
 * @LastEditTime: 2023-12-02 14:41:23
 * @FilePath: \updt-house-rent-front\components\leftPanels\CLeftPanel.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div v-if="leftPanelShow" class="left-panel">
    <component :is="leftPanel"> </component>
  </div>
</template>

<script lang="ts">
import { Vue, Component } from "vue-property-decorator";
import BasePaenl from "./CBase.vue";
import Grid from "./CGrid.vue";
import Gridman from "./CGridman.vue";
import Floor from "./CFloor.vue";
@Component({
  name: "LeftPanel",
  components: {
    BasePaenl,
    Grid,
    Gridman,
    Floor
  }
})
export default class extends Vue {
  get leftPanel() {
    return this.$store.getters["panel/leftPanel"];
  }
  get leftPanelShow() {
    return this.$store.getters["panel/leftPanelShow"];
  }
}
</script>

<style lang="scss" scoped>
.left-panel {
  position: absolute;
  height: 987px;
  width: 468px;
  pointer-events: none;
  background: #001022;
  padding: 0 20px;
  & > * {
    pointer-events: auto;
  }
}
</style>
